import AddDialog from './components/AddDialog';
import Operate from './components/Operate';
import List from './components/List';
import { FileContextProvider } from './contexts/FilesContext';

const SystemFile = () => {
  const handleOk = (insertData) => {
    // setIsModalVisible(false);
  };

  const handleCancel = () => {
    // setIsModalVisible(false);
  };

  return (
    <>
      <FileContextProvider>
        <Operate />
        <List />
        <AddDialog title="新增全宗" visible={false} onOk={handleOk} onCancel={handleCancel} />
      </FileContextProvider>
    </>
  );
};

export default SystemFile;
